/*
 * ExcepcionLexico.java
 *
 * Created on 19 de diciembre de 2007, 23:51
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Lexico;

/**
 *
 * @author DANI1
 */
public class ExcepcionLexico extends Exception{
    
    /** Creates a new instance of ExcepcionLexico */
    private int linea;
    private int tipoError;
    
    public ExcepcionLexico(int l,int tipo) {
        linea=l;
        tipoError=tipo;
    }
    public int dameLinea(){
        return linea;
    }
    public int dameTipoError(){
        return this.tipoError;
    }
    
    
}
